import request from '@/utils/request'

// 获取配置
export const getConfigAPI = () => request.get('/mqtt-config/')

// 修改配置
export const updateConfigAPI = (data) => request.post('/mqtt-config/', data)

//获取配置项ip
export const getIPConfigApi = () => request.get('/mqtt-config/getIpList')
